home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 2⁄2⁄90 / 0558-MARez menu for MPW-Jan90 < prev    next >
Encoding:
Text File  |  1990-02-02  |  2.5 KB  |  112 lines  |  [TEXT/GEOL]

  1. Item    7159459                         27-Jan-90        11:16
  2.  
  3. From:   MADA.EUROPE                     MacApp Dev Assoc Eur,E Carrasco,IDV
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    MARez menu for MPW
  8.  
  9. Attn:  MacAppers'
  10.        ⁄ MacApp.Tech$
  11.  
  12. From:  Eric Carrasco
  13.        MADA Europe
  14.        2, allée des Acacias
  15.        F-95130 Le Plessis Bouchard
  16.        France
  17.        ⁄ MADA.Europe
  18.  
  19. Sub:   MARez menu for MPW.
  20.  
  21.  
  22. Hi all,
  23. This link will help you to launch Rez directly (without MABuild).
  24. The following lines, extracted from my disk, will help you to build a "Rez
  25. MacApplProgram…" under MPW. Improve them and enjoy.
  26. A bundle containing all needed files is posted in "MADA Europe" folder.
  27.  
  28. ------------
  29. #  Define these MPW variables in your UserStartup file
  30.    Set EricDir "{MPW}Eric:"
  31.    Export EricDir
  32.  
  33.    Set EricRIncludesDir "{EricDir}myRIncludes:"
  34.    Export EricRIncludesDir
  35.  
  36. ------------
  37. #  And add the following lines to one UserStartup file
  38.  
  39.    AddMenu MacApp  "Rez AppName.r" ∂
  40.    'Begin; ∂
  41.    Set MAProgram `Request -d "{MAProgram}" "Mac App: Program Name?"`; ∂
  42.    Exit If "{MAProgram}" == ""; ∂
  43.    Export MAProgram; ∂
  44.    Echo; ∂
  45.    Echo "Rezzing {MAProgram}.r using settings defined in RezSettings.Debug.r";
  46.    {MARez} -rd ∂
  47.    -o "{MAProgram}" ∂
  48.    -d Debugging ∂
  49.    "{EricRIncludesDir}RezSettings.Debug.r" ∂
  50.    "{RIncludes}SysTypes.r" ∂
  51.    "{RIncludes}Types.r" ∂
  52.    "{MARIncludes}MacAppTypes.r" ∂
  53.    "{MARIncludes}ViewTypes.r" ∂
  54.    "{MAProgram}.r" ∂
  55.    -i "{EricRIncludesDir}" ∂
  56.    -i "{RIncludes}" ∂
  57.    -i "{MARIncludes}" ∂
  58.    -s "{MALibraries}.Debug Files:"; ∂
  59.    {MAPostRez} "{MAProgram}"; ∂
  60.    SetFile -a B "{MAProgram}"; ∂
  61.    End  >> "{Worksheet}" ≥≥ Dev:StdOut'
  62.  
  63. ------------
  64.  
  65. /************************************************************
  66.  
  67.     RezSettings.Debug.r
  68.    Variables used by Rez when Rezzing a MacApp™ resource file.
  69.  
  70.    Eric Carrasco, MADA Europe
  71.    Paris, January 27, 1990
  72.  
  73. ************************************************************/
  74.  
  75.  
  76. #define qNames 1
  77. #define qDebug 1
  78. #define qInspector 1
  79. #define qUnInit0
  80. #define qPerform   0
  81. #define qRangeCheck1
  82. #define qWriteLnWin1
  83. #define qTrace 1
  84.  
  85. #define qNeedsROM128K  1
  86.  
  87. #define qNeedsScriptManager1
  88. #define qNeedsHierarchicalMenus1
  89. #define qNeedsStyleTextEdit1
  90. #define qNeedsWaitNextEvent1
  91.  
  92. #define qNeedsColorQD  0
  93. #define qNeedsMC68020  0
  94. #define qNeedsMC68030  0
  95. #define qNeedsFPU  0
  96.  
  97. #define qProceduralViews   1
  98. #define qTemplateViews 1
  99. #define qWriteTemplates1
  100.  
  101. #define qSym   0
  102.  
  103. // add other variables if needed
  104. ------------
  105.  
  106.  
  107. Best Regards,
  108.  
  109. .Eric
  110.  
  111.